package org.black.phoneUtility.sms.reply.database.dataModel;

import java.io.Serializable;
import java.util.Date;

import org.black.phoneUtility.sms.reply.provider.SmsReplyContract;

public class ReplyHistory implements Serializable {
	private static final long serialVersionUID = -8670774671166754296L;

	private Integer id;
	private Integer replyStatus;
	private String name;
	private String phoneNumber;
	private Integer sourceFrom;
	private String replyMessage;
	private Date creationDateTime;
	private ActivationRecord activationRecord;

	public static final int SOURCE_FROM_TYPE_PHONE = SmsReplyContract.ReplyHistories.REPLY_HISTORY_SOURCE_FROM_VALUE_PHONE;
	public static final int SOURCE_FROM_TYPE_SMS = SmsReplyContract.ReplyHistories.REPLY_HISTORY_SOURCE_FROM_VALUE_SMS;

	public static final int REPLY_STATUS_RESULT_OK = SmsReplyContract.ReplyHistories.REPLY_STATUS_RESULT_OK;
	public static final int REPLY_STATUS_RESULT_ERROR_GENERIC_FAILURE = SmsReplyContract.ReplyHistories.REPLY_STATUS_RESULT_ERROR_GENERIC_FAILURE;
	public static final int REPLY_STATUS_RESULT_ERROR_NO_SERVICE = SmsReplyContract.ReplyHistories.REPLY_STATUS_RESULT_ERROR_NO_SERVICE;
	public static final int REPLY_STATUS_RESULT_ERROR_NULL_PDU = SmsReplyContract.ReplyHistories.REPLY_STATUS_RESULT_ERROR_NULL_PDU;
	public static final int REPLY_STATUS_RESULT_ERROR_RADIO_OFF = SmsReplyContract.ReplyHistories.REPLY_STATUS_RESULT_ERROR_RADIO_OFF;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getReplyStatus() {
		return replyStatus;
	}

	public void setReplyStatus(Integer replyStatus) {
		this.replyStatus = replyStatus;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public Integer getSourceFrom() {
		return sourceFrom;
	}

	public void setSourceFrom(Integer sourceFrom) {
		this.sourceFrom = sourceFrom;
	}

	public String getReplyMessage() {
		return replyMessage;
	}

	public void setReplyMessage(String replyMessage) {
		this.replyMessage = replyMessage;
	}

	public Date getCreationDateTime() {
		return creationDateTime;
	}

	public void setCreationDateTime(Date creationDateTime) {
		this.creationDateTime = creationDateTime;
	}

	public ActivationRecord getActivationRecord() {
		return activationRecord;
	}

	public void setActivationRecord(ActivationRecord activationRecord) {
		this.activationRecord = activationRecord;
	}

	@Override
	public String toString() {
		return "ReplyHistory [id=" + id + ", replyStatus=" + replyStatus
				+ ", name=" + name + ", phoneNumber=" + phoneNumber
				+ ", sourceFrom=" + sourceFrom + ", replyMessage="
				+ replyMessage + ", creationDateTime=" + creationDateTime
				+ ", activationRecord=" + activationRecord + "]";
	}
}
